#ifndef CSDLCOLOR_H_
#define CSDLCOLOR_H_

#include "../bengine/CColor.h"
#include "../platfinc.h"

/* Revision 4, Kenuta */
// Wrapper for SDL color use.
namespace FBShells {
	class CSDLColor : public CColor {
		SDL_Color* m_color;
		unsigned short m_alpha;
		public:
			CSDLColor();
			CSDLColor(unsigned short r, unsigned short g, unsigned short b, unsigned short a = 255);
			unsigned short getRed() const { return m_color->r; }
			unsigned short getGreen() const { return m_color->g; }
			unsigned short getBlue() const { return m_color->b; }
			unsigned short getAlpha() const { return m_alpha; }
			void setRed(unsigned short r) { m_color->r = r; }
			void setGreen(unsigned short g) { m_color->g = g; }
			void setBlue(unsigned short b) { m_color->b = b; }
			virtual ~CSDLColor();
	};
};

#endif /*CSDLCOLOR_H_*/
